package com.ylstm.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @ClassName UrlController
 * @Description TODO
 * @date 2022/7/31 15:29
 * @Version 1.0
 */
@Controller
@RequestMapping("/url")
public class UrlController {
    @RequestMapping("/{path}")
    public String path(@PathVariable("path")String path){
        return path;
    }

}
